package vo 
{
	/**
	 * -- CharacterVO --
	 * @desc	structure of character for server
	 * @author	Flamehaze (built on 2011-12-18)
	 */
	public class CharacterVOServer 
	{
		public var cid			:int;		// cid（唯一）
		public var uid			:int;		// 拥有者的id
		public var id			:String;	// 卡片id
		public var lv			:int;		// 等级
		public var hp			:int;		// 体力
		public var exp			:int;		// 经验值
		public var midAttack	:int;		// 中段攻击力
		public var lowAttack	:int;		// 下段攻击力
		public var midDefense	:int;		// 中段防御力
		public var lowDefense	:int;		// 下段防御力
		public var speed		:int;		// 速度
		
		public var position		:int;		// 场上位置
		public var teamStatus	:int;		// 队中状态
		
		public function SetValue(clientStruct:CharacterVO):void
		{
			cid = clientStruct.cid;
			uid = clientStruct.uid;
			id = clientStruct.id;
			lv = clientStruct.lv;
			hp = clientStruct.hp;
			exp = clientStruct.exp;
			midAttack = clientStruct.midAttack;
			lowAttack = clientStruct.lowAttack;
			midDefense = clientStruct.midDefense;
			lowDefense = clientStruct.lowDefense;
			speed = clientStruct.speed;
			position = clientStruct.position;
			teamStatus = clientStruct.teamStatus;
		}
	}

}